package com.gezi.admin.module.sys.user.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * @Author 格子代码
 * @createDate 2024/2/10 09:00
 * @contact 1424529270@qq.com
 */
@Data
public class SysUserEditProfileParamModel {

    @NotBlank(message = "登录账号不能为空")
    @Size(min = 1,max = 30,message = "登录账号不正确")
    @ApiModelProperty(value = "登录账号")
    private String loginName;

    @NotBlank(message = "登录手机不能为空")
    @Size(min = 1,max = 11,message = "登录手机长度不正确")
    @ApiModelProperty(value = "登录手机")
    private String phone;

    @NotBlank(message = "用户昵称不能为空")
    @Size(min = 1,max = 30,message = "用户昵称长度不正确")
    @ApiModelProperty(value = "用户昵称")
    private String nickName;

    @NotBlank(message = "用户昵称不能为空")
    @ApiModelProperty(value = "用户头像")
    private String headUrl;
}
